<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../css/mui.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="../css/mui.picker.css"/>
		<link rel="stylesheet" type="text/css" href="../css/mui.poppicker.css"/>
		<link rel="stylesheet" type="text/css" href="../css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="../css/business/change.css"/>
	</head>

	<body>
		<div class="mui-content" id="equip-change-content" v-cloak>
			<header class="mui-bar mui-bar-nav" id="myheader">
				<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
				<h1 class="mui-title">资产变更</h1>
			</header>
			<div class="mui-scroll-wrapper" style="-webkit-overflow-scrolling: touch; margin-top: 25px; background-color: #efeff4;">
				<div class="mui-scroll">
					<div class="mui-content" id="equip-change-wrapper">
						<div class="equip-base-info-wrapper">
							<div class="equip-info-item">
								<span class="equip-info-txt">资产编号:</span>
								<span class="equip-info-value">{{zcbh}}</span>
							</div>
							<div class="equip-info-item">
								<span class="equip-info-txt">条码编号:</span>
								<span class="equip-info-value">{{tmbh}}</span>
							</div>
							<div class="equip-info-item">
								<span class="equip-info-txt">制衣办编号:</span>
								<span class="equip-info-value">{{zybbh}}</span>
							</div>
							<div class="split-line"></div>
							<div class="equip-info-item">
								<span class="equip-info-txt">设备类型:</span>
								<span class="equip-info-value">{{type}}</span>
							</div>
							<div class="equip-info-item">
								<span class="equip-info-txt">设备名称:</span>
								<span class="equip-info-value">{{name}}</span>
							</div>
							<div class="equip-info-item">
								<span class="equip-info-txt">品牌或厂商:</span>
								<span class="equip-info-value">{{vendor}}</span>
							</div>
							<div class="equip-info-item">
								<span class="equip-info-txt">型号:</span>
								<span class="equip-info-value">{{model}}</span>
							</div>
						</div>
						<div class="equip-info-tips">以上资产信息录入后不允许修改</div>
						<div class="equip-change-info-wrapper">
							<div class="equip-change-info-form">
								<div class="equip-change-item">
									<span class="equip-info-txt">部门：</span>
									<div>
										<span style="font-size: 14px;">{{depart}}</span>
										<span class="mui-icon iconfont icon-jiantou_you" @tap="toDepartPicker"></span>
									</div>
								</div>
								<div class="equip-change-item">
									<span class="equip-info-txt">车间：</span>
									<div>
										<span style="font-size: 14px;">{{workshop}}</span>
										<span class="mui-icon iconfont icon-jiantou_you"  @tap="toWorkshopPicker"></span>
									</div>
								</div>
								<div class="equip-change-item">
									<span class="equip-info-txt">使用人：</span>
									<input type="text" placeholder="" v-model="user">
								</div>
								<div class="equip-change-item">
									<span class="equip-info-txt">联系方式：</span>
									<input type="text" placeholder="" v-model="contact">
								</div>
								<div class="equip-change-item">
									<span class="equip-info-txt">存放地点：</span>
									<input type="text" placeholder="" v-model="location">
								</div>
								<div class="equip-change-item equip-info-item-long">
									<span class="equip-info-txt">备注：</span>
									<div>
										<textarea rows="3" cols="27" v-model="desc"></textarea>
									</div>
								</div>
							</div>
							<button type="button" class="mui-btn mui-btn-blue equip-change-save-btn" @tap="saveChange">保存修改</button>
							<button type="button" class="mui-btn mui-btn-red equip-change-scrap-btn" @tap="scrapEquip">报废</button>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
	<script src="../js/mui.js"></script>
	<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/mui.picker.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/mui.poppicker.js" type="text/javascript" charset="utf-8"></script>
	<script src="../config.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/business/change.js" type="text/javascript" charset="utf-8"></script>
</html>
